package com.zfl;

public class lanqiaoA {
    public static void main(String[] args) {
        for (int i = 0; i < 30; i++) {
            int num = (int) Math.pow(i,3);
            System.out.println("i= "+i+"  num = " + num+" num$%10: "+num%10);
        }
    }
}
